import { Http } from '@/utils/http'

/**
 * 根据标签获取诗歌
 * @param data 
 * @returns 
 */
export function requestRecomment (data: any)  {
    return Http.request({
        url: '/out/poetry/getPoetryByLid',
        method: 'GET',
        params: data
    })
}

/**
 * 获取轮播图数据
 * @returns 
 */
export function requestBannerList ()  {
    return Http.request({
        url: '/out/banner/getBanner',
        method: 'get'
    })
}

/**
 * 获取诗单
 * @param data 
 * @returns 
 */
export function requestRecommentPoemsList (data: Object)  {
    return Http.request({
        url: '/out/poemsList/getRecommentPoemsList',
        method: 'post',
        data: data
    })
}